<link href="../addons/jy_teamhuifee/resource/css/style.css" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>

<div class="fui-page fui-page-current page-commission-index ">
	<div class="fui-header">
		<div class="fui-header-left">
			<a class="back" ng-click='goback()'></a>
		</div>
		<div class="title">{{pagedata.setting.agent_center}}</div>
		<div class="fui-header-right"></div>
	</div>
    <div class='fui-content'>
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} </div>
					<div style="font-size:0.6rem">推荐人 ：{{pagedata.shangji.nickname || '总平台'}}</div>
					<div>
						<span style="font-size:0.7rem;margin-top:0.3rem;color:#f2f2f2">({{pagedata.team.levelname}})<i class='icon icon-question' style='font-size:8px;'></i></span>
					</div>
				</div>
				<div class="fui-cellone-remark noremark" style="font-size:1rem;color:#fff;">
					<i href="javascript:;" ng-click="access_json('/info/main')" class="icon icon-set"></i>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">{{pagedata.setting.commission_total}}</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || '0.00'}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">分红笔数</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.feenum || 0}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">分享的会员</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.agent_num || 0}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
							<div>
								<div class="subtitle" style="font-size:0.7rem;color:#fff">生态奖励金额</div>
								<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || 0}}</div>
														
							</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
							<div>
								<div class="subtitle" style="font-size:0.7rem;color:#fff">当前积分</div>
								<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.credit1 || 0}}</div>
														
							</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
							<div>
								<div class="subtitle" style="font-size:0.7rem;color:#fff">当前{{pagedata.bi3}}</div>
								<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.credit3 || 0}}</div>
														
							</div>
					</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2.5rem">
		<div class="fui-cell-group">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
			</div>
		</div>
		<div class="userblock">
			<div class="line total new">
				<div class="num">{{pagedata.data.balance_total || '0.00'}}</div>
				<div class="title">{{pagedata.setting.balance_total}}(元)</div>
			</div>
			<div class="line usable new">

				<div class="text">
					<div class="num">{{pagedata.data.commission_1  || '0.00'}}</div>
					<div class="title">{{pagedata.setting.commission_1 || 0.00}}(元)</div>
				</div>		
				<a ng-if="pagedata.data.commission_1 > 0" ng-click="access_json('/commission/')" class="btn btn-warning external" ><span style="line-height: 1">{{pagedata.setting.balance_button}}</span></a>
			</div>
		</div>
		<div class="fui-block-group col-2" style='overflow: hidden;'>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/commission/main')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">{{pagedata.setting.commission_total}}</div>
                    <div class=""><span>{{pagedata.data.commission_total || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.zhi_total ||'直推佣金'}}</div>
					<div class=""><span>{{pagedata.data.zhi_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.ji_total ||'生态奖励'}}</div>
					<div class=""><span>{{pagedata.data.ji_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">加权分红</div>
					<div class=""><span>{{pagedata.data.money9 || 0.00}}</span> 元</div>
				</div>
            </a>
            <a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order/main')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dingdan"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_order ||'团队订单'}}</div>
					<div class=""><span>{{pagedata.team.order_num || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_tagent ||'我的团队队员'}}</div>
					<div class="">直推:{{pagedata.data.area_num || 0}}人</div>
				</div>
            </a>
			<!--<a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/down/main')">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">名下团长人数</div>
					<div class=""><span>{{pagedata.data.team_num || 0}}</span> 人</div>
				</div>
            </a>-->
		</div>
		<div class="fui-cell-group">
			<a href="javascript:;" ng-click="access_json('jy_teamhuifee/qrcode/main')" class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-erweima text-yellow"></i>
				</div>
				<div class="fui-cell-text">推广二维码</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
		</div>
		</div>
</div>

</div>
<div ng-include="sys_html('_footer')"></div>